package com.baosight.risk.common.enums;

import io.swagger.annotations.ApiModel;

/**
 * 状态
 *
 * @author gaohan
 */
@ApiModel(description = "状态枚举")
public enum Status implements BaseValueEnum<Status> {
    //    @ApiModelProperty(value = "草稿")
    DRAFT("01", "草稿"),

    SUBMIT("02", "提交"),

    EFFECTIVE("10", "有效"),

    DISABLE("20", "禁用");


    private String status;

    private String description;

    Status(String status, String description) {
        this.status = status;
        this.description = description;
    }

    @Override
    public String getValue() {
        return this.status;
    }

    public String getDescription() {
        return description;
    }

}
